describe('practice-7-1', function () {

    it("猜四位数字是多少？", function () {
        expect(guess_number_fun(1234,1256)).toBe('2A2B');
        expect(guess_number_fun(1234,1122)).toBe('2A1B');
        expect(guess_number_fun(1234,3312)).toBe('3A0B');
        expect(guess_number_fun(1234,4123)).toBe('4A0B');
        expect(guess_number_fun(1234,1243)).toBe('4A2B');
        expect(guess_number_fun(1234,1234)).toBe('4A4B');

        expect(guess_number_fun(1256,5612)).toBe('4A0B');
        expect(guess_number_fun(1256,1258)).toBe('3A3B');
        expect(guess_number_fun(1256,1256)).toBe('4A4B');
    });

});